package com.fastwire.carriere.service;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import com.fastwire.carriere.service.webui.exception.ServiceException;
import com.fastwire.carriere.system.vo.SystemParameterVo;
import com.fastwire.carriere.user.vo.SessionVo;

@WebService(targetNamespace = "http://systemadmin.fastwire.com", name = "SystemAdminService")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL)
public interface SystemAdminService {

	@WebMethod
	public @WebResult(name = "SystemParameters")
	List<SystemParameterVo> getSystemParametersbyCatelog(String catelog,
			SessionVo sessionVo) throws ServiceException;

	@WebMethod
	public String updateSystemParameter(SystemParameterVo parameterVo,
			SessionVo sessionVo) throws ServiceException;
}
